package com.ekuaitu.kuaitu.bean;

/**
 * Created by Michael Pi on 2016/11/4.
 */
public class LoginBean {

    /**
     * status : 200
     * message : 成功
     * debug : null
     * attachment : {"userModel":{"id":75,"name":"","picture":0,"status":0,"isEnterprise":2,"token":"aI9PqAwwynA.",SharedPreferencesKey.USER_PHONE_NUM:"18600662134"}}
     */

    private int status;
    private String message;
    private Object debug;
    /**
     * userModel : {"id":75,"name":"","picture":0,"status":0,"isEnterprise":2,"token":"aI9PqAwwynA.",SharedPreferencesKey.USER_PHONE_NUM:"18600662134"}
     */

    private AttachmentBean attachment;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getDebug() {
        return debug;
    }

    public void setDebug(Object debug) {
        this.debug = debug;
    }

    public AttachmentBean getAttachment() {
        return attachment;
    }

    public void setAttachment(AttachmentBean attachment) {
        this.attachment = attachment;
    }

    public static class AttachmentBean {
        /**
         * id : 75
         * name :
         * picture : 0
         * status : 0
         * isEnterprise : 2
         * token : aI9PqAwwynA.
         * phoneNum : 18600662134
         */

        private UserModelBean userModel;

        public UserModelBean getUserModel() {
            return userModel;
        }

        public void setUserModel(UserModelBean userModel) {
            this.userModel = userModel;
        }

        public static class UserModelBean {
            private String id;
            private String name;
            private String picture;
            private int status;
            private int isEnterprise;
            private String token;
            private String phoneNum;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getPicture() {
                return picture;
            }

            public void setPicture(String picture) {
                this.picture = picture;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public int getIsEnterprise() {
                return isEnterprise;
            }

            public void setIsEnterprise(int isEnterprise) {
                this.isEnterprise = isEnterprise;
            }

            public String getToken() {
                return token;
            }

            public void setToken(String token) {
                this.token = token;
            }

            public String getPhoneNum() {
                return phoneNum;
            }

            public void setPhoneNum(String phoneNum) {
                this.phoneNum = phoneNum;
            }
        }
    }
}
